package com.ecoolex.hotel.saas.pojo;

import java.math.BigDecimal;
import java.util.Date;

import org.springframework.lang.NonNull;

import com.ecoolex.framework.common.annotation.Description;

@Description("编辑预售券第一步")
public class EditPresaleCouponOneStepDTO implements EditPresaleCouponStep{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@Description({"预售券Id", "不存在时新增"})
    private Integer preCouponId;
	
	@Description({"商户Id", "不能为空", "数据长度: 10"})
    @NonNull
    private Integer storeId;
	
	@Description({"券名称", "不能为空", "数据长度: 50"})
    @NonNull
    private String name;
	
	@Description({"副标题", "数据长度: 500"})
    private String subName;
	
	@Description({"专柜价格", "不能为空", "数据长度: 18"})
    @NonNull
    private BigDecimal counterPrice;
	
	@Description({"实际价格", "不能为空", "数据长度: 18"})
    @NonNull
    private BigDecimal realPrice;
	
	@Description({"库存数量", "不能为空", "数据长度: 10"})
    @NonNull
    private Integer stockNumber;
	
	@Description({"开始销售时间", "不能为空", "数据长度: 26"})
    @NonNull
    private Date saleStartTime;
	
	@Description({"结束销售时间", "不能为空", "数据长度: 26"})
    @NonNull
    private Date saleEndTime;

    public Integer getPreCouponId() {
        return preCouponId;
    }

    public void setPreCouponId(Integer preCouponId) {
        this.preCouponId = preCouponId;
    }

    @NonNull
    public Integer getStoreId() {
        return storeId;
    }

    public void setStoreId(@NonNull Integer storeId) {
        this.storeId = storeId;
    }

    @NonNull
    public String getName() {
        return name;
    }

    public void setName(@NonNull String name) {
        this.name = name;
    }

    public String getSubName() {
        return subName;
    }

    public void setSubName(String subName) {
        this.subName = subName;
    }

    @NonNull
    public BigDecimal getCounterPrice() {
        return counterPrice;
    }

    public void setCounterPrice(@NonNull BigDecimal counterPrice) {
        this.counterPrice = counterPrice;
    }

    @NonNull
    public BigDecimal getRealPrice() {
        return realPrice;
    }

    public void setRealPrice(@NonNull BigDecimal realPrice) {
        this.realPrice = realPrice;
    }

    @NonNull
    public Integer getStockNumber() {
        return stockNumber;
    }

    public void setStockNumber(@NonNull Integer stockNumber) {
        this.stockNumber = stockNumber;
    }

    @NonNull
    public Date getSaleStartTime() {
        return saleStartTime;
    }

    public void setSaleStartTime(@NonNull Date saleStartTime) {
        this.saleStartTime = saleStartTime;
    }

    @NonNull
    public Date getSaleEndTime() {
        return saleEndTime;
    }

    public void setSaleEndTime(@NonNull Date saleEndTime) {
        this.saleEndTime = saleEndTime;
    }
}
